package com.display.elements
{
	import flash.display.Sprite;
	import flash.text.TextField;
	
	/**
	 * 
	 * @author dcliment
	 * version 1.0
	 */	
	public class ListHeaderElement extends Sprite
	{
		// UI
		private var _label:TextField;
		
		public function ListHeaderElement()
		{
			_label = this["mLabel"];
			
			if(!_label)
				throw new Error("ListItem ERROR :: TextField with linkage name = 'mLabel' :: DOES NOT EXIST");
			
			_label.mouseEnabled = false;
		}
		
		public function setup($label:String)
		{

			_label.htmlText = $label;
		}


	}
}